﻿using System;
namespace Gaea
{
    public class GaeaOption : IGaeaOption
    {
        /// <summary>
        /// 数据库连接名
        /// </summary>
        public string ConnectionName { get; set; }

        /// <summary>
        /// 数据库连接字符串
        /// </summary>
        public string ConnectionString { get; set; }

        /// <summary>
        /// DbConnection的类型
        /// </summary>
        public Type TypeOfDbConnection { get; set; }

        /// <summary>
        /// GaeaPower的实现基础类
        /// </summary>
        public Type BaseTypeGaeaPower { get; set; }

        /// <summary>
        /// 数据库连接类型 默认-MultipleConnectionType.Default
        /// </summary>
        public MultipleConnectionType ConnectionType { get; set; } = MultipleConnectionType.Default;

        /// <summary>
        /// 防止数据库关键字符号
        /// </summary>
        public string[] GaeaNameSymbo { get; set; }

    }
}
